[HVM] Fix stupid printf formatting error that breaks x86/64 build.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 27 Sep 2006 12:54:04 +0000 (13:54 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 27 Sep 2006 12:54:04 +0000 (13:54 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/vmx/vmx.c

index fe7d93818566ff9df46bb69bb647390cfcb68cd4..b9f3226b533f16b7385c9233fc4db0c3f7b28ca9 100644 (file)
@@ -342,7 +342,7 @@ static inline int long_mode_do_msr_write(struct cpu_user_regs *regs)
         /* offending reserved bit will cause #GP */
         if ( msr_content & ~(EFER_LME | EFER_LMA | EFER_NX | EFER_SCE) )
         {
-            printk("Trying to set reserved bit in EFER: %016llx\n",
+            printk("Trying to set reserved bit in EFER: %"PRIx64"\n",
                    msr_content);
             svm_inject_exception(vc, TRAP_gp_fault, 1, 0);
             return 0;
index c3fb5d346f8eb1f7d5359b0703881c6d7b19964d..bb5c09a4b784063c35a97ddf55fa002b33bd4d93 100644 (file)
@@ -290,7 +290,7 @@ static inline int long_mode_do_msr_write(struct cpu_user_regs *regs)
         /* offending reserved bit will cause #GP */
         if ( msr_content & ~(EFER_LME | EFER_LMA | EFER_NX | EFER_SCE) )
         {
-            printk("Trying to set reserved bit in EFER: %016llx\n",
+            printk("Trying to set reserved bit in EFER: %"PRIx64"\n",
                    msr_content);
             vmx_inject_hw_exception(v, TRAP_gp_fault, 0);
             return 0;